﻿using Foxit.PDF;
using Sustainalytics.ReportGeneratorFramework.Interfaces;
using System;
using Foxit.PDF.PageElements;

namespace Sustainalytics.ReportGeneratorFramework.FrameworkEntities
{
    public class PdfFormattedText : IElement
    {
        protected string strHtml;
        protected FormattedTextAreaStyle style;

        protected FontFamily fontFamily;
        protected float fontSize;
        protected bool preserveWhitespace;

        public PdfFormattedText(string strHtml, FontFamily fontFamily, float fontSize, bool preserveWhitespace)
        {
            this.strHtml = strHtml;
            this.fontFamily = fontFamily;
            this.fontSize = fontSize;
            this.preserveWhitespace = preserveWhitespace;
        }

        public PdfFormattedText(string strHtml, FormattedTextAreaStyle style)
        {
            this.strHtml = strHtml;
            this.style = style;
        }

        public FormattedTextAreaStyle Style
        {
            get { return style; }
            set { style = value; }
        }

        public void Display()
        {
            throw new NotImplementedException();
        }
    }
}
